package com.t194.service;

import com.t194.pojo.Role;
import com.t194.vo.TreeNode;

import java.util.List;

public interface RoleService {

        List<Role> searchAll();

        void batchDel(Integer[] ids);

        int add(Role role);

        void update(Role role);

        List<TreeNode> search4Tree(Integer roleId);

        void grant(Integer roleId,Integer[] ids);
}
